Structured Parallel Programming by McCool Michael Reinders James Robison Arch & Arch D. Robison & James Reinders

Structured Parallel Programming by McCool Michael Reinders James Robison Arch & Arch D. Robison & James Reinders

Author:McCool, Michael, Reinders, James, Robison, Arch & Arch D. Robison & James Reinders
Language: eng
Format: epub
ISBN: 9780123914439
Publisher: Elsevier Science
Published: 2012-06-21T16:00:00+00:00


false: The state of the Body represents the effect of zero or more consecutive iterations preceding subrange r, but not all preceding iterations. In this case, operator() updates the state to include reduction of the current subrange.

The second case occurs only if a thread actually steals work for the parallel_scan.

Method reverse_join merges two states of adjacent subranges. The “reverse” in its name comes from the fact that *this is the state of the right subrange, and its argument is the left subrange. The left subrange can be either a partial state or a full state remaining after a serial scan.

Method assign is used at the very end to update the original Body argument to tbb::parallel_scan with the Body state after the last iteration.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.